/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const router = {
  path: '/basicSetup',
  component: Layout,
  redirect: 'noredirect',
  meta: { title: '基础设置', icon: 'fas fa-tachometer-alt', noCache: true },
  children: [
    {
      path: 'sysParam',
      component: () => import('@/views/basicSetup/sysParam'),
      name: 'SysParam',
      meta: { title: '系统参数', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'accountSubjects',
      component: () => import('@/views/basicSetup/accountSubjects'),
      name: 'AccountSubjects',
      meta: { title: '会计科目', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'voucherType',
      component: () => import('@/views/basicSetup/voucherType'),
      name: 'VoucherType',
      meta: { title: '凭证类型', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'foreignCurrencyConfig',
      component: () => import('@/views/basicSetup/foreignCurrencyConfig'),
      name: 'ForeignCurrencyConfig',
      meta: { title: '外币设置', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'voucherTemplate',
      component: () => import('@/views/basicSetup/voucherTemplate'),
      name: 'VoucherTemplate',
      meta: { title: '凭证模板', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'abstractLibrary',
      component: () => import('@/views/basicSetup/abstractLibrary'),
      name: 'AbstractLibrary',
      meta: { title: '摘要库', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'differenceTerm',
      component: () => import('@/views/basicSetup/differenceTerm'),
      name: 'DifferenceTerm',
      meta: { title: '差异项', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'otherData',
      component: () => import('@/views/basicSetup/otherData'),
      name: 'OtherData',
      meta: { title: '其他数据', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'accountItemType',
      component: () => import('@/views/basicSetup/accountItemType'),
      name: 'AccountItemType',
      meta: { title: '核算项目类型', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'initialization',
      component: () => import('@/views/basicSetup/initialization'),
      name: 'Initialization',
      meta: { title: '初始化', icon: 'fas fa-tachometer-alt', noCache: true }
    }
  ]
}

export default router
